#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QFileSystemModel>
#include "backup-one.h"
#include "backup-two.h"
#include "analyse.h"
#include "getfile.h"
#include "dialog.h"
#include <QMouseEvent>
#include <QComboBox>
#include <QAction>
#include <QFileDialog>
#include <QDirModel>
#include <QComboBox>
#include <QMessageBox>
#include <QDebug>
#include <QProgressDialog>
#include <QDateTime>
#include <QCloseEvent>
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
protected:
    void closeEvent(QCloseEvent *event);
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    static int flag;
    static QString path1;
    static QString path2;
    QAction * one;
    QAction * two;
    QList<QAction*> List;
    QMenu*menu1;
private slots:
    void on_Read1_clicked();
    void on_Read2_clicked();
    void on_pushButton_2_clicked();
    void on_comboBox_3_currentIndexChanged(const QString &arg1);
    void on_pushButton_3_clicked();
    void on_pushButton_clicked();

    void on_pushButton_4_clicked();
    void function();

    void function2();

    void itemPressedSlot(QTreeWidgetItem *, int);

private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
